package com.twinkle.xiaohashu.kv.enums;

import com.twinkle.framework.common.exception.BaseExceptionInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResponseCodeEnum implements BaseExceptionInterface {
    SYSTEM_ERROR("KV-10000", "系统错误"),
    PARAM_NOT_VALID("kv10001", "参数错误"),

    NOTE_CONTENT_NOT_FOUND("KV-20000", "该笔记内容不存在");

    // 异常码
    private final String errorCode;
    // 错误信息
    private final String errorMessage;
}
